/**
 * Created by kangli on 2018/3/7.
 */
function addManager(btn){
    var html ='  <div class="g-confirmDiv">' +
        '<div class="g-confirmlist clearfix"><p class="fl">登录名：</p> ' +
        '<input type="text" class="form-control fl" style="width: 200px" placeholder="请输入登录名"></div> ' +
        '<div class="g-confirmlist clearfix"><p class="fl">密码：</p> ' +
        '<input type="text" class="form-control fl" style="width: 200px" placeholder="请输入密码"></div> ' +
        '<div class="g-confirmlist clearfix"><p class="fl">确认密码：</p> ' +
        '<input type="text" class="form-control fl" style="width: 200px" placeholder="请输入密码"></div> ' +
        '<div class="g-confirmlist clearfix"><p class="fl">角色分配：</p> ' +
        '<select class="form-control fl em-select" style="width: 200px"> ' +
        '<option value="1">系统管理员</option> ' +
        '<option value="2">用户</option> ' +
        '</select> </div></div>';
    parent.layer.open({
        type: 1,
        area: ['500px', ''],
        title: '新增管理员',
        btn: ['确定','取消'],
        shadeClose: true, //点击遮罩关闭
        content: html,
        success: function(layero, index){

        },
        yes: function(index){

        },
        btn2: function(index){
            parent.layer.close(index);
            /*   return false;*/
        }
    });
}
